home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
prodz203.zip
/
PRODIZ.DOC
< prev
next >
Wrap
Text File
|
1992-09-10
|
8KB
|
187 lines
ProDIZ 2.0
CopyRight 1991-92 by Max Bernard & Dave Navarro, Jr
FILE_ID.DIZ Specs CopyRight 1991 by Clark Development
What is ProDIZ?
---------------
ProDIZ is a command line utility for ProDoor sysops. It scans uploaded
archives using the ZIP, ARJ, and LZH format for a file named "FILE_ID.DIZ" and
extracts it if found, using the text to replace any description typed by the
user.
The format for FILE_ID.DIZ is very simple, it's a standard text file with up
to 10 lines of description with each line a maximum of 45 charactors in width.
ProDIZ also optionally ads the number of files found in the archive and the
file dates of the oldest and youngest members, the uncompressed archive size,
and the serial number for ZIP files that have an AV.
Here is a sample description:
| ProDIZ 1.9, ProDoor 3.44 utility to scan
| ZIP, LZH, and ARJ files for FILE_ID.DIZ &
| DESC.SDI and replace the caller-provided
| description if either one is found. Has
| options for adding the number of files,
| oldest/newest file dates, uncompressed
| filesize, and -AV information for ZIPs to
| the description. WARNING! This only works
| with ProDoor 3.44 dated 12/31/91 or later!
| FREEWARE by Dave Navarro, Jr. and Max Bernard
| Files: 6 Old: 02/22/92 New: 02/27/92 * DIZ
| Uncompressed Size: 47,811 bytes
How do I use ProDIZ?
--------------------
It's pretty simple, just pass the filename of the current archive and the
name/location of the $DOOR.NAM file created by ProDoor:
PRODIZ %2 %PCBDRIVE%%PCBDIR%\$DOOR.NAM
If you want it to add the file date info, add a "/D" on the end of the command
line.
If you want it to add the uncompressed size info, add a "/U" on the end of the
command line.
If you want to add the AV serial number for ZIPs if found, then add "/AV" on
the command line.
If you want to add a text line of your own, you can use the "/A:" option in
the form of:
/A:Tested by ZipLAB 1.9b
** This must be the LAST option on the command line, as everything
** following the /A: will be added to the description.
When a user uploads a file in ProDoor, they are asked for the name of the file
being uploaded and a description. This is then written to a file named
$DOOR.NAM which is kept in the same directory as PCBOARD.SYS for each node.
So, if node 1 is located in C:\PCB, then you would put "prodiz %2
c:\pcb\$door.nam" in your PROUT1.BAT file.
(See enclosed PROUT1.BAT file for more info on multiple nodes.)
ProDIZ command reference
------------------------
If you just type PRODIZ from the DOS prompt, you get the following display:
ProDIZ 2.03 - Description Extraction Utility for ProDoor 3.44+
CopyRight (c) 1991-92 by Max Bernard & Dave Navarro, Jr
Usage: PRODIZ ARCfile.ext BBS-Desc.fil [/Options]
Where [options] are:
/A:text Insert a line of text into the description
Example: /A:This is the text
/AV Insert ZIP -AV serial number if found
/D Insert File Count and dates in description
Example: Files: 5 Old: 01/01/90 New: 02/15/92
/E Erase files that fail age test (requires /O)
/L Run in local mode (Add DIZ/SDI to DIR file)
/O:yymm Minimum date requirement (i.e. /O:9101 for Jan-1991)
/P Make U/L private if no FILE_ID.DIZ or DESC.SDI found
/U Add Uncompressed file size to description
Command details
---------------
/A:text
The /A:text switch instructs ProDIZ to add the text following /A: to the end
of the file description. Note that, if used, this must be the last switch
on the ProDIZ command line.
/AV
This instructs ProDIZ to the -AV (Authenticity Verification) stamp from ZIP
files (if found) and add it to the file description
/D
This instructs ProDIZ to add a line at after the file description showing
the number of files in the archive, the date stamp of the oldest and the
youngest files in the archive. See example above.
/E
This imstructs ProDIZ to Erase (DELETE) files that fail the maximum age
requirement test as specified with the /O switch. The /E switch has no
effect if the /O switch is not used. (See /O switch description).
/L
If the /L switch is present, ProDIZ modifies its operation to accept and
process a DIR type file for the file description instead of the $DOOR.NAM
file. This is the offline mode of operation for ProDIZ. Using this mode
you can use ProDIZ to test files (for age) and modify file descriptions
offline (from the DOS prompt) instead of from ProDoor. For instance, you
could write a batch file to call ProDIZ for all the files in a certain di-
rectory and process them as if they had just been uploaded to your system.
/O:yymm
This instructs ProDIZ to test the date of files inside the Archive against
the month and year specified. If any of the files is older than the speci-
fied month and year, ProDIZ displays a message on the screen and sets an
internal flag for use by the /E switch. If the /E switch is present, any
file that fails this test will be DELETED from the system. ProDIZ returns
an ERRORLEVEL of 2 when a file fails this test. This way you get a chance
to process those files that fail in anyway you wish (like moving them to a
holding directory until you've had a chance to inspect them manually and
decide for yourself if they are worth keeping or not. See the included
sample PROUT1.BAT file.
/P
If this switch is present, ProDIZ will make the uploaded file private if
it doesn't include either a FILE_ID.DIZ or DESC.SDI embedded description.
/U
This switch causes ProDIZ to append a line to the file description showing
the un-compressed size of the archive. This is the amount of space that
would be required, on your hard disk, to un-archive this file.
How much is registration?
-------------------------
This is a FREEWARE utility, which means that no fee is required to use it, but
I retain all rights to the program (including the right to change my mind
later if I so choose). In the past, I have written and released a number of
freeware utilities for sysops. My only request, that if you use it, you spend
$1 on an interesting post card from your home town, and 15 cents on a stamp to
mail it. This isn't required, but I really would like to know what you think
of ProDIZ, and I enjoy seeing postcards from all over the place. Please
consider it..
What about support?
-------------------
That's the CATCH-22 with FREEWARE, since I charge no fee, I am not obligated
to support it.. This doesn't mean that I don't support ProDIZ, just that it's
low on my totem pole of things to work on.. It all depends on the request
that I get.. If it's intrigueing enough to me, I'll do it.. If you send me a
nice post card with your request on it, I might feel obligated enough to make
whatever change your asking for (hint, hint..) However, I will always fix
whatever bugs people point out, so if you encounter one, let me know
immediately and I'll get to it.
So, how do I contact you?
-------------------------
By BBS at:
The Taste BBS in Brooklyn, NY
(718) 252-4529.
Through US Mail at:
ProDIZ Support
c/o Max Bernard
P.O. Box 100564
Brooklyn, NY 11210